package com.webrtc.demo.call

import org.webrtc.IceCandidate


interface OnSignalEventListener {
    fun onNegotiate(uid: String, type: Negotiate): Boolean = false
    fun onRoomNegotiate(uid: String, roomid: String, type: RoomNegotiate): Boolean = false
    fun onRoomBroadcast(
        uid: String,
        newid: String,
        roomid: String,
        roomBroadcastType: RoomBroadcastType
    ): Boolean = false

    fun onGroupNegotiate(uid: String, roomid: String, type: GroupNegotiate): Boolean = false
    fun onGroupJoinBroadcast(
        uid: String,
        newid: String,
        roomid: String
    ): Boolean = false

    fun onOffer(uid: String, sdp: String, mediaType: MediaType, roomid: String?): Boolean = false
    fun onAnswer(uid: String, sdp: String, mediaType: MediaType, roomid: String?): Boolean = false
    fun onCandidate(uid: String, ice: IceCandidate, mediaType: MediaType, roomid: String?): Boolean = false
}